package cn.lysoy.demo.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @author SongYang
 * @TableName data_backup
 */
@TableName(value ="data_backup")
@Data
public class DataBackup implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 数据类型
     */
    @TableField(value = "data_source")
    private String dataSource;

    /**
     * json类型的数据
     */
    @TableField(value = "json_data")
    private Object jsonData;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    private Date createDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}